package com.barradata.app0624.config

import com.barradata.BuildConfig

/**
 * Author:    WuNan
 * Email:     wunan@barradata.com
 * Created:   2019/7/4 13:50
 **/
object Constant {
    private const val TEST_URL = "http://47.92.143.84"
    private const val PRODUCTION_URL = "https://www.dk470.com"
    @JvmField
    var BASE_URL = if (BuildConfig.DEBUG) {
        TEST_URL
    } else {
        PRODUCTION_URL
    }

    private const val TEST_H5_URL = "http://47.92.143.84/appweb/"
    private const val PRODUCTION_H5_URL = PRODUCTION_URL + "/android/index.html"
    @JvmField
    var H5_URL = if (BuildConfig.DEBUG) {
        TEST_H5_URL
    } else {
        PRODUCTION_H5_URL
    }

    val H5_URL_HOME = H5_URL + "#/home"

    const val CHANNEL = "1"

    val PRIVACY_AGREEMENT_URL = "https://data2019.tokotunaikoosecond.com/privacy.html"

    const val AF_DEV_KEY = "HLSTtt5ev9aFsVmhLiGVng"
    val CONTRACT_URL = "$BASE_URL/pub/contract/loan-ina.html";
}